import { useFetch } from '@vueuse/core'
// import { until } from '@/util/until'
// import type { Ref } from 'vue'
// import type {ApiResult} from '@/types/Model'
// import { ApiResult } from '../types/Model'

export function Ping() {
    const { data } = useFetch<ApiResult<string>>('/api/ping')
    return data
}